Muchat\Api\Frontend\Widget A

Total Complexity 69
Dependencies 2
Dependents 1
Total lines 410
Lines of code 260
Logical lines of code 175
Comment lines 79
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
should_display()
B
41 18 55
process_context()
A
40 13 61
hook_head()
A
51 11 24
generate_widget_config()
A
45 8 41
is_within_schedule()
S
56 7 16
get_initial_messages()
S
49 6 31
generate_widget_script()
S
55 3 18
__construct()
S
75 1 4
register_cache_clearing_hooks()
S
68 1 7
clear_widget_cache()
S
79 1 3